﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;

namespace ArtMath.CommonType
{
    public struct MessageContent
    {
        public IntPtr dwData;
        public int cbData;
        [MarshalAs(UnmanagedType.LPStr)]
        public string lpData;
        //public enum MessageType
        //{
        //    CreateDirectory,
        //}
        //public MessageType Type { get; }
        //public object[] Params { get; }
        //public MessageContent(MessageType type, params object[] ps)
        //{
        //    Type = type;
        //    Params = ps;
        //}
        //public void Invoke()
        //{
        //    switch (Type)
        //    {
        //        case MessageType.CreateDirectory:
        //            break;
        //    }
        //}
    }
}
